Update all the things
Added network varariable and the Logic for converting the state to led
Working copy for implementing the packml status.